<%@ page language="java" import="java.util.*,entity.*,java.text.SimpleDateFormat" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<HTML>
<HEAD>
<TITLE>管理员
</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META http-equiv=Pragma content=no-cache>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content=-1000>
<LINK href="/OrderMeal/css/layout.css" type="text/css" rel="stylesheet">
</HEAD>

<body>
<div id="container">
<div id="header"><jsp:include page="header.jsp"></jsp:include></div>
<div id="mainContent">
<div id="sidebar"><jsp:include page="managersf.jsp"></jsp:include></div>
<div id="content">
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
  <TR height=28>
    <TD background=/OrderMeal/Images/title_bg1.jpg>当前位置: 登录首页</TD></TR>
  <TR>
    <TD bgColor=#b1ceef height=1></TD></TR>
  <TR height=20>
    <TD background=/OrderMeal/Images/shadow_bg.jpg></TD></TR></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="90%" align=center border=0>
  <TR height=100>
    <TD align=middle width=100><IMG height=100 src="/OrderMeal/Images/admin_p.gif" 
      width=90></TD>
    <TD width=60>&nbsp;</TD>
    <TD>
      <TABLE height=100 cellSpacing=0 cellPadding=0 width="100%" border=0>
        <%
        Managers m = (Managers)session.getAttribute("managers");
         //currentTimeMillis返回以毫秒为单位的当前时间
  Date myDate = new Date(System.currentTimeMillis());
  SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
  String time =sdf.format(myDate);
        
         %>
        <TR>
          <TD>当前时间：<%=time %></TD></TR>
        <TR>
          <TD style="FONT-WEIGHT: bold; FONT-SIZE: 16px">您好，<%=m.getManager_name() %></TD></TR>
        <TR>
          <TD>欢迎进入后台管理中心！</TD></TR></TABLE></TD></TR>
  <TR>
    <TD colSpan=3 height=10></TD></TR></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
  <TR height=20>
    <TD></TD></TR>
  <TR height=22>
    <TD style="PADDING-LEFT: 20px; FONT-WEIGHT: bold; COLOR: #ffffff" 
    align=middle background=/OrderMeal/Images/title_bg2.jpg>您的相关信息</TD></TR>
  <TR bgColor=#ecf4fc height=12>
    <TD></TD></TR>
  <TR height=20>
    <TD></TD></TR></TABLE>
<TABLE cellSpacing=0 cellPadding=2 width="95%" align=center border=0>
<TR>
    <TD align=right width=100>登陆角色：</TD>
    <TD style="COLOR: #880000">管理员</TD></TR>
  <TR>
    <TD align=right width=100>登陆帐号：</TD>
    <TD style="COLOR: #880000"><%=m.getManager_no() %></TD></TR>
  <TR>
    <TD align=right width=100>真实姓名：</TD>
    <TD style="COLOR: #880000"><%=m.getManager_name() %></TD></TR> 
    <TR>
    <TD align=right width=100>员工性别：</TD>
    <TD style="COLOR: #880000"><%=m.getManager_sex() %></TD></TR> 
    <TR>
    <TD align=right width=100>联系电话：</TD>
    <TD style="COLOR: #880000"><%=m.getManager_phone() %></TD></TR>  
 
  </TABLE>
  
  
  
</div>
</div>

<div id="footer" align="center">版权所有    中北大学10060641  郭倩</div>

</div>
</body>
</HTML>
